<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="author" content="wangbo" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
		<style>
			/* li{
      color:green;
    }
    ul>li{
      color: red;
    }
    
    
    div ul li{
      color:green;
    }
    div ul>li{
      color: red;
    } */

			/* li{
      color:green;
    }
    div ul,li{
      color: red;
    } */

		
    /* ul>li,p{
      color: red;
    }
    li{
      color:green;
    } */
    /* ul>li,p{
      color: red;
    }
    li{
      color:green;
    } */

    #ddiv .cli{
      color:green;
    }
    .cdiv #dli{
      color: red;
    }
    
		</style>
	</head>
	<body>
    <p>是打飞机了</p>
		<div class="cdiv" id="ddiv">
			<ul>
				<li class="cli" id="dli">是的</li>
			</ul>
		</div>
	</body>
</html>
